package com.cqut.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface AwardsSelectionMapperExtra {

	List<Map<String, Object>> getState();

	List<Map<String, Object>> getFlow();

	List<Map<String, Object>> getList(
			@Param("competeName")
			String competeName, 
			@Param("start")
			int calculateStart, 
			@Param("end")
			int calculateEnd);

	long findCountOfList(
			@Param("competeName")
			String competeName);

	List<Map<String, Object>> getStateList(
			@Param("start")
			int calculateStart,
			@Param("end")
			int calculateEnd, 
			@Param("stateName")
			String stateName,
			@Param("competitionId")
			String competitionId);

	long getCountOfStateList(
			@Param("stateName")
			String stateName, 
			@Param("competitionId")
			String competitionId);
	
	List<Map<String, Object>> getDetailList(
			@Param("teamName")
			String competeName,
			@Param("start")
			int calculateStart,
			@Param("end")
			int calculateEnd);

	long getCountOfDetail(
			@Param("teamName")
			String teamName);

}